package com.slf.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 权限表(Permission)表实体类
 *
 * @author SLF
 * @since 2023-03-30 16:36:17
 */
@Data
public class Permission extends Model<Permission> {
    //id
    private Long id;
    //权限名称
    private String permissionName;
    //权限路径
    private String permissionUrl;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

